Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENG-3617] Update the rbf logic #354

Merged

Conversation

dhriaznov
Copy link
Contributor

@dhriaznov dhriaznov commented Jan 19, 2024

🔘 PR Type

What kind of change does this PR introduce?

  • Enhancement

📜 Background

This PR adds the STX RBF logic (and also the fetching of the BTC RBF data) so that it can be reused.

Issue Link: #[ENG-3617]
Context Link (if applicable):

🔄 Changes

Does this PR introduce a breaking change?

  • Yes, Incompatible API changes
  • No, Adds functionality (backwards compatible)
  • No, Bug fixes (backwards compatible)

Changes:

  • Added the useBtcRbfTransactionData and useStxRbfTransactionData hooks

🖼 Screenshot / 📹 Video

✅ Review checklist

Please ensure the following are true before merging:

  • Code Style is consistent with the project guidelines.
  • Code is readable and well-commented.
  • No unnecessary or debugging code has been added.
  • Security considerations have been taken into account.
  • The change has been manually tested and works as expected.
  • Breaking changes and their impacts have been considered and documented.
  • Code does not introduce new technical debt or issues.

@dhriaznov dhriaznov self-assigned this Jan 19, 2024
@dhriaznov dhriaznov marked this pull request as ready for review January 31, 2024 23:54
transactions/stx.ts Outdated Show resolved Hide resolved
@dhriaznov
Copy link
Contributor Author

I updated the PR including your suggestions folks, could you take a second look pls? @teebszet @fedeerbes

@teebszet
Copy link
Member

teebszet commented Feb 2, 2024

lgtm 😄

@teebszet teebszet added the minor label Feb 2, 2024
Copy link
Contributor

github-actions bot commented Feb 5, 2024

Test this PR with npm i --save-exact @secretkeylabs/[email protected]

@dhriaznov dhriaznov added the enhancement New feature or request label Feb 7, 2024
@fedeerbes fedeerbes merged commit 6b375dc into develop Feb 14, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants